Finding the longest isometric cycle in a graph

نویسنده

  • Daniel Lokshtanov
چکیده

When searching for the longest cycle in a graph, we sometimes want to restrict our search space to the cycles that do not have crossing edges induced cycles. If we think of the crossing edges as shortcuts, looking for induced cycles is then looking for shortcut-free cycles. However, an induced cycle may have a shortcut in the following sense: For two vertices on the cycle, the distance between them in the graph is strictly less than the distance between them in the cycle. As an example, consider the wheel graph on 7 or more vertices. The circumference of the wheel induces a cycle. In this cycle, the distance between diametrically opposite vertices is at least 3. At the same time one can get between any two vertices on this cycle in two steps via the central node. Thus this cycle is induced, but clearly not shortcut-free. We will say that a cycle that has no shortcuts in the above sense is an isometric cycle of G. Finding the longest isometric cycle of a graph is then a natural variant of the problem of finding a longest cycle. In this paper we present a polynomial time algorithm for finding the longest isometric cycle in a graph. 1 Definitions and terminology All input graphs are simple, connected, unweighted and undirected. A walk W is a sequence of vertices where each consecutive pair of vertices is connected by an edge. If the first and last vertex of W are the same we say that W is cyclic. If all vertices in W are unique we say that the walk is a path. If W has at least 3 vertices and all vertices of W are unique, but the first and last vertex are the same, W is a cycle. The length of a walk is the number of edges in it. The number of edges in the shortest path between two vertices u and v in a graph G is denoted dG(u, v) and is called the distance between u and v. When the graph is not specified we implicitly mean distance in G and will write d(u, v) for short. If u and v actually are the same vertex, we say that dG(u, v) = 0. If u and v lie in different components of G, the distance between them is infinite. For a natural number p, G to the power of p is the graph G = (V (G), {(u, v) : dG(u, v) ≤ p}). A subgraph H of a graph G is an isometric subgraph, if for every u and v in V (H), dH(u, v) = dG(u, v). Notice that an isometric subgraph is an induced subgraph. 2 A useful auxiliary graph In this section we are going to concentrate upon an auxiliary graph that we can use to test whether a given graph G has an isometric cycle of length exactly k. We will assume that k ≥ 3. Using G we build an new graph Gk. The set of vertices of Gk is the set of ordered pairs {(u, v) ∈ V : d(u, v) = bk/2c} and there is an edge between (u, v) and (w, x) in Gk if (u,w) ∈ E(G) and (v, x) ∈ E(G). In order to use Gk we ∗Department of Informatics, University of Bergen, N-5020 Bergen, Norway. Email: [email protected].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Longest Path Problems on Ptolemaic Graphs

SUMMARY Longest path problem is a problem for finding a longest path in a given graph. While the graph classes in which the Hamiltonian path problem can be solved efficiently are widely investigated, there are few known graph classes such that the longest path problem can be solved efficiently. Polynomial time algorithms for finding a longest cycle and a longest path in a Ptolemaic graph are pr...

متن کامل

On the computational complexity of finding a minimal basis for the guess and determine attack

Guess-and-determine attack is one of the general attacks on stream ciphers. It is a common cryptanalysis tool for evaluating security of stream ciphers. The effectiveness of this attack is based on the number of unknown bits which will be guessed by the attacker to break the cryptosystem. In this work, we present a relation between the minimum numbers of the guessed bits and uniquely restricted...

متن کامل

Algorithm for finding the largest inscribed rectangle in polygon

In many industrial and non-industrial applications, it is necessary to identify the largest inscribed rectangle in a certain shape. The problem is studied for convex and non-convex polygons. Another criterion is the direction of the rectangle: axis aligned or general. In this paper a heuristic algorithm is presented for finding the largest axis aligned inscribed rectangle in a general polygon. ...

متن کامل

On the Approximation of Finding A(nother) Hamiltonian Cycle in Cubic Hamiltonian Graphs

It is a simple fact that cubic Hamiltonian graphs have at least two Hamiltonian cycles. Finding such a cycle is NP -hard in general, and no polynomial time algorithm is known for the problem of finding a second Hamiltonian cycle when one such cycle is given as part of the input. We investigate the complexity of approximating this problem where by a feasible solution we mean a(nother) cycle in t...

متن کامل

Longest Path in Networks of Queues in the Steady-State

Due to the importance of longest path analysis in networks of queues, we develop an analytical method for computing the steady-state distribution function of longest path in acyclic networks of queues. We assume the network consists of a number of queuing systems and each one has either one or infinite servers. The distribution function of service time is assumed to be exponential or Erlang. Fu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Discrete Applied Mathematics

دوره 157  شماره 

صفحات  -

تاریخ انتشار 2009